package cn.marinda.listener;

import cn.marinda.gui.impl.CreateServerHelperImpl;
import cn.marinda.gui.impl.NotFoundServerCoreDialog;
import cn.marinda.gui.impl.ServerConsoleHelperImpl;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * 跳创建服务器事件
 *
 * @author admin
 * @date 2022/07/28
 */
public class JumpCreateServerEvent implements ActionListener {

    public JumpCreateServerEvent(){

    }

    @Override
    public void actionPerformed(ActionEvent e) {
        NotFoundServerCoreDialog.instance.close();
        ServerConsoleHelperImpl.instance.close();
        CreateServerHelperImpl.instance.open();
    }
}
